/*
 *列表模版
 */
Ext.define("app.components.ui.list.List", {
    extend: "Ext.panel.Panel",
    alias: "widget.list_",
    title: "Demo_",
    closable: true,
    layout: "border",
    extColumns: [],//表格列
    extStore: {},//数据源
    extQuery: [],//查询条件
    pageSizeList:null,
    requires: [
        "app.components.ui.list.Grid",
        "app.components.ui.form.Search",
        "app.components.ui.form.ComboGrid",
    ],
    initComponent: function () {
        this.items = [
            {
                region: "north",
                xtype: "form_",
                split: true,
                extQuery: this.extQuery
            }, {
                region: "center",
                id:this.id+"_grid",
                xtype: "grid_",
                extStore: this.extStore,
                extColumns: this.extColumns,
                pageSizeList:this.pageSizeList,
            }];

        this.callParent();
    }
})



